package com.ruoyi.oto.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;


@EqualsAndHashCode(callSuper = true)
@Data
@TableName("demands_reply")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DemandsReply extends BaseEntity<DemandsReply> {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 诉求ID
     */
    private Long demandsId;

    /**
     * 诉求部门ID
     */
    private Long demandsDepartId;

    /**
     * 经办人
     */
    private String chargeName;

    /**
     * 经办人电话
     */
    private String chargePhone;

    /**
     * 经办时间
     */
    private Date chargeTime;

    /**
     * 受理的内容
     */
    private String acceptContent;

    /**
     * 答复的状态
     */
    private Integer status;

    /**
     * 此诉求的批注数量
     */
    @TableField(exist = false)
    private Integer totalAnnos;

}
